home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="utf-8" ?> <ME_BRICK GUID="{760E34BF-DAE1-4601-90A4-9A57F9375B47}" Name="RtTex1DBias" GUIName="Tex1D_Bias" Description="Sample the 1D texture at given texture coordinates with additional mipmap bias [tex1Dbias]"> <ME_BRICK_INPUTPARAM GUID="{EFB1856D-0420-400E-80C8-2B63EA15CE0C}" Name="Sampler1D" Type="RtSampler1D"/> <ME_BRICK_INPUTPARAM GUID="{64858F57-A044-4D47-8DCD-C4060D04A724}" Name="sCoordinate" Type="RtFloat"/> <ME_BRICK_INPUTPARAM GUID="{499AD46A-7848-437D-964F-B67D2B359EB6}" Name="sBias" Type="RtFloat"/> <ME_BRICK_OUTPUTPARAM GUID="{B9F06B05-BFCE-4FC5-84FD-01794ACDF204}" Name="vTextureColor4" Type="RtFloat4"/> <ME_BRICK_CODE><![CDATA[ void RtTex1DBias(in RtSampler1D Sampler1D, in RtFloat sCoordinate, in RtFloat sBias, out RtFloat4 vTextureColor4) { RtFloat4 tmp = sCoordinate; tmp.w = sBias; vTextureColor4 = rtx_Tex1DBias(Sampler1D, tmp); } ]]></ME_BRICK_CODE> </ME_BRICK>